﻿<UserControl x:Class="MDCAdminTool.Controls.ChartStatsBase"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    
    xmlns:kit="clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit">
   
   
      <kit:Chart x:Name="chartStats" >
         <kit:Chart.Title>
            <TextBlock Text="{Binding Title}" /> 
         </kit:Chart.Title>

         <kit:ColumnSeries Name="ChartData" Title="{Binding SubTitle}"
               IndependentValueBinding = "{Binding Name}"
               DependentValueBinding   = "{Binding Value}" />
         
         <kit:Chart.Axes>
            <kit:LinearAxis Orientation="Y" ShowGridLines="True"/>
         </kit:Chart.Axes>

      </kit:Chart>
   
</UserControl>
